package com.eeds.model.region.req;

import com.eeds.common.model.ReqUserId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("获取区域列表请求参数")
@EqualsAndHashCode(callSuper =false)
public class ReqGetRegionListVO extends ReqUserId {

    @ApiModelProperty(value="父级id")
    @NotNull(message = "父级id不能为空")
    private Long regionalPId;
}
